package cn.rongcloud.im.server.response;

import java.util.List;

/**
 * 邻里圈列表response对象
 * Created by fangxuegengezou on 2017/3/22.
 */

public class MomentsListResponse extends BaseMomentResponse {
    /**
     * 当前页
     */
    private int curPage;
    /**
     * 总页数
     */
    private int pageCount;

    /**
     * 邻里圈头部信息
     */
    private CovertInfoEntity covertInfo;

    /**
     * 邻里圈数据列表对象
     */
    private List<MomentEntity> moments;

    public int getCurPage() {
        return curPage;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public CovertInfoEntity getCovertInfo() {
        return covertInfo;
    }

    public void setCovertInfo(CovertInfoEntity covertInfo) {
        this.covertInfo = covertInfo;
    }

    public List<MomentEntity> getMoments() {
        return moments;
    }

    public void setMoments(List<MomentEntity> moments) {
        this.moments = moments;
    }

    public static class MomentEntity {
        /**
         * 用户对象：邻居（朋友）
         */
        private UserEntiry userInfo;
        /**
         * 内容对象
         */
        private MomentsInfo momentsInfo;

        /**
         * 评论对象信息
         */
        private List<CommentEntity> commentsInfo;
        /**
         * 当前评论点赞列表
         */
        private List<LikeEntity> likesInfo;
        /**
         * 图片信息
         */
        private MediaInfo mediaInfo;

        public UserEntiry getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserEntiry userInfo) {
            this.userInfo = userInfo;
        }

        public MomentsInfo getMomentsInfo() {
            return momentsInfo;
        }

        public void setMomentsInfo(MomentsInfo momentsInfo) {
            this.momentsInfo = momentsInfo;
        }

        public List<CommentEntity> getCommentsInfo() {
            return commentsInfo;
        }

        public void setCommentsInfo(List<CommentEntity> commentsInfo) {
            this.commentsInfo = commentsInfo;
        }

        public List<LikeEntity> getLikesInfo() {
            return likesInfo;
        }

        public void setLikesInfo(List<LikeEntity> likesInfo) {
            this.likesInfo = likesInfo;
        }

        public MediaInfo getMediaInfo() {
            return mediaInfo;
        }

        public void setMediaInfo(MediaInfo mediaInfo) {
            this.mediaInfo = mediaInfo;
        }

        public static class MediaInfo{
            private List<String> srcImages;
            private List<String> thumbImages;
            private List<String> thumbPreviewImages;

            public List<String> getSrcImages() {
                return srcImages;
            }

            public void setSrcImages(List<String> srcImages) {
                this.srcImages = srcImages;
            }

            public List<String> getThumbImages() {
                return thumbImages;
            }

            public void setThumbImages(List<String> thumbImages) {
                this.thumbImages = thumbImages;
            }

            public List<String> getThumbPreviewImages() {
                return thumbPreviewImages;
            }

            public void setThumbPreviewImages(List<String> thumbPreviewImages) {
                this.thumbPreviewImages = thumbPreviewImages;
            }
        }

        /**
         * 点赞对象
         */
        public static class LikeEntity{
            private String likeUserId;
            private String likeUserNick;
            private String portraitUri;

            public String getLikeUserId() {
                return likeUserId;
            }

            public void setLikeUserId(String likeUserId) {
                this.likeUserId = likeUserId;
            }

            public String getLikeUserNick() {
                return likeUserNick;
            }

            public void setLikeUserNick(String likeUserNick) {
                this.likeUserNick = likeUserNick;
            }

            public String getPortraitUri() {
                return portraitUri;
            }

            public void setPortraitUri(String portraitUri) {
                this.portraitUri = portraitUri;
            }
        }

        /**
         * 评论Entity
         */
        public static class CommentEntity {
            private String commentId;//": "sfdsferewrererwerewrer",
            private String commentUserId;//": "erwerwerr7derrer7bcererr7ererere",
            private String commentUserNick;//": "铃咚0",
            private String commentText;//": "回复",
            private String replyUserId;//": "",
            private String replyUserNick;//": "",
            private String canDelete;//": "0",
            private String createTime;//": "2017-03-23T11:51:59",
            private String timeInfo;//": "6天前"

            public String getCommentId() {
                return commentId;
            }

            public void setCommentId(String commentId) {
                this.commentId = commentId;
            }

            public String getCommentUserId() {
                return commentUserId;
            }

            public void setCommentUserId(String commentUserId) {
                this.commentUserId = commentUserId;
            }

            public String getCommentUserNick() {
                return commentUserNick;
            }

            public void setCommentUserNick(String commentUserNick) {
                this.commentUserNick = commentUserNick;
            }

            public String getCommentText() {
                return commentText;
            }

            public void setCommentText(String commentText) {
                this.commentText = commentText;
            }

            public String getReplyUserId() {
                return replyUserId;
            }

            public void setReplyUserId(String replyUserId) {
                this.replyUserId = replyUserId;
            }

            public String getReplyUserNick() {
                return replyUserNick;
            }

            public void setReplyUserNick(String replyUserNick) {
                this.replyUserNick = replyUserNick;
            }

            public String getCanDelete() {
                return canDelete;
            }

            public void setCanDelete(String canDelete) {
                this.canDelete = canDelete;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getTimeInfo() {
                return timeInfo;
            }

            public void setTimeInfo(String timeInfo) {
                this.timeInfo = timeInfo;
            }
        }

        public static class MomentsInfo {
            /**
             * 内容id
             */

            private String momentsId;
            private String title;
            private String content;
            /**
             * //内容类型：11：图文 12：纯图
             */
            private String contentType;
            private String linkUrl;
            private String linkImgUrl;
            private String communityId;
            private int likeCount;
            private int commentCount;
            private int viewCount;
            private String momentsTypeId;
            private int status;
            /**
             * "2017-03-15T13:44:35",
             */
            private String updateTime;

            /**
             * "2017-03-15T13:44:35",
             */
            private String createTime;

            /**
             * "1天前",
             */
            private String timeInfo;

            /**
             * "0",
             */
            private String canDelete;

            /**
             * "时间戳”
             */
            private String timeStamp;

            public String getMomentsId() {
                return momentsId;
            }

            public void setMomentsId(String momentsId) {
                this.momentsId = momentsId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getContentType() {
                return contentType;
            }

            public void setContentType(String contentType) {
                this.contentType = contentType;
            }

            public String getLinkUrl() {
                return linkUrl;
            }

            public void setLinkUrl(String linkUrl) {
                this.linkUrl = linkUrl;
            }

            public String getLinkImgUrl() {
                return linkImgUrl;
            }

            public void setLinkImgUrl(String linkImgUrl) {
                this.linkImgUrl = linkImgUrl;
            }

            public String getCommunityId() {
                return communityId;
            }

            public void setCommunityId(String communityId) {
                this.communityId = communityId;
            }

            public int getLikeCount() {
                return likeCount;
            }

            public void setLikeCount(int likeCount) {
                this.likeCount = likeCount;
            }

            public int getCommentCount() {
                return commentCount;
            }

            public void setCommentCount(int commentCount) {
                this.commentCount = commentCount;
            }

            public int getViewCount() {
                return viewCount;
            }

            public void setViewCount(int viewCount) {
                this.viewCount = viewCount;
            }

            public String getMomentsTypeId() {
                return momentsTypeId;
            }

            public void setMomentsTypeId(String momentsTypeId) {
                this.momentsTypeId = momentsTypeId;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getTimeInfo() {
                return timeInfo;
            }

            public void setTimeInfo(String timeInfo) {
                this.timeInfo = timeInfo;
            }

            public String getCanDelete() {
                return canDelete;
            }

            public void setCanDelete(String canDelete) {
                this.canDelete = canDelete;
            }

            public String getTimeStamp() {
                return timeStamp;
            }

            public void setTimeStamp(String timeStamp) {
                this.timeStamp = timeStamp;
            }
        }
    }

    public static class UserEntiry {
        /**
         * "头像地址"
         */
        private String portraitUri;
        /**
         * 用户id
         */
        private String userId;
        /**
         * 呢称
         */
        private String nickname;

        public String getPortraitUri() {
            return portraitUri;
        }

        public void setPortraitUri(String portraitUri) {
            this.portraitUri = portraitUri;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }
    }

    /**
     * 邻里圈头部信息
     */
    public static class CovertInfoEntity {
        /**
         * //头像地址
         */
        private String portraitUri;
        /**
         * //用户id
         */
        private String userId;
        /**
         * 呢称
         */
        private String nickname;

        /**
         * 个人相册封面图片地址(猜的。。。暂没发现哪有用到)
         */
        private String wallUri;

        public String getPortraitUri() {
            return portraitUri;
        }

        public void setPortraitUri(String portraitUri) {
            this.portraitUri = portraitUri;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getWallUri() {
            return wallUri;
        }

        public void setWallUri(String wallUri) {
            this.wallUri = wallUri;
        }
    }


}
/**
 * userInfo：用户信息
 * momentsInfo：内容信息
 * commentsInfo：回复信息
 * likesInfo：点赞信息
 * mediaInfo：图片信息
 * <p>
 * <p>
 * {
 * "code": 200,
 * "message": "",
 * "curPage": 1,
 * "pageCount": 3,
 * "covertInfo": {
 * "portraitUri": "http://",
 * "userId": "erwerwerr7derrer7bcererr7ererere",
 * "nickname": "铃咚0",
 * "wallUri": ""
 * },
 * "moments": [
 * {
 * "userInfo": {
 * "portraitUri": "头像地址",
 * "userId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "nickname": "铃咚2"
 * },
 * "momentsInfo": {
 * "momentsId": "c727ce68d9d14d90b646fd42d435c9cd",
 * "title": "",
 * "content": "The fact new",
 * "contentType": "11",
 * "linkUrl": "",
 * "linkImgUrl": "",
 * "communityId": "1",
 * "likeCount": 0,
 * "commentCount": 0,
 * "viewCount": 1,
 * "momentsTypeId": "81a8fdd8267b45eba21db4c968c87de1",
 * "status": 0,
 * "updateTime": "2017-03-15T13:44:35",
 * "createTime": "2017-03-15T13:44:35",
 * "timeInfo": "1天前",
 * "canDelete": "0",
 * “timeStamp":”时间戳”
 * },
 * "commentsInfo": [
 * {
 * "commentId": "sfdsferewrererwerewrer",
 * "commentUserId": "erwerwerr7derrer7bcererr7ererere",
 * "commentUserNick": "铃咚0",
 * "commentText": "回复",
 * "replyUserId": "",
 * "replyUserNick": "",
 * "canDelete": "0",
 * "createTime": "2017-03-23T11:51:59",
 * "timeInfo": "6天前"
 * },
 * {
 * "commentId": "asadsdsfdsfdgdfgffgfg",
 * "commentUserId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "commentUserNick": "铃咚2",
 * "commentText": "点评内容",
 * "replyUserId": "erwerwerr7derrer7bcererr7ererere",
 * "replyUserNick": "铃咚0",
 * "canDelete": "0",
 * "createTime": "2017-03-16T11:21:54",
 * "timeInfo": "2小时前"
 * }
 * ],
 * "likesInfo": [],
 * "mediaInfo": {
 * "srcImages": [
 * "图片地址"
 * ],
 * "thumbImages": ["图片地址" ],
 * "thumbPreviewImages": ["图片地址"]
 * }
 * }
 * ]
 * <p>
 * {
 * "code": 200,
 * "message": "",
 * "curPage": 1,
 * "pageCount": 3,
 * "covertInfo": {
 * "portraitUri": "http://",
 * "userId": "erwerwerr7derrer7bcererr7ererere",
 * "nickname": "铃咚0",
 * "wallUri": ""
 * },
 * "moments": [
 * {
 * "userInfo": {
 * "portraitUri": "头像地址",
 * "userId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "nickname": "铃咚2"
 * },
 * "momentsInfo": {
 * "momentsId": "c727ce68d9d14d90b646fd42d435c9cd",
 * "title": "",
 * "content": "The fact new",
 * "contentType": "11",
 * "linkUrl": "",
 * "linkImgUrl": "",
 * "communityId": "1",
 * "likeCount": 0,
 * "commentCount": 0,
 * "viewCount": 1,
 * "momentsTypeId": "81a8fdd8267b45eba21db4c968c87de1",
 * "status": 0,
 * "updateTime": "2017-03-15T13:44:35",
 * "createTime": "2017-03-15T13:44:35",
 * "timeInfo": "1天前",
 * "canDelete": "0",
 * “timeStamp":”时间戳”
 * },
 * "commentsInfo": [
 * {
 * "commentId": "sfdsferewrererwerewrer",
 * "commentUserId": "erwerwerr7derrer7bcererr7ererere",
 * "commentUserNick": "铃咚0",
 * "commentText": "回复",
 * "replyUserId": "",
 * "replyUserNick": "",
 * "canDelete": "0",
 * "createTime": "2017-03-23T11:51:59",
 * "timeInfo": "6天前"
 * },
 * {
 * "commentId": "asadsdsfdsfdgdfgffgfg",
 * "commentUserId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "commentUserNick": "铃咚2",
 * "commentText": "点评内容",
 * "replyUserId": "erwerwerr7derrer7bcererr7ererere",
 * "replyUserNick": "铃咚0",
 * "canDelete": "0",
 * "createTime": "2017-03-16T11:21:54",
 * "timeInfo": "2小时前"
 * }
 * ],
 * "likesInfo": [],
 * "mediaInfo": {
 * "srcImages": [
 * "图片地址"
 * ],
 * "thumbImages": ["图片地址" ],
 * "thumbPreviewImages": ["图片地址"]
 * }
 * }
 * ]
 * <p>
 * {
 * "code": 200,
 * "message": "",
 * "curPage": 1,
 * "pageCount": 3,
 * "covertInfo": {
 * "portraitUri": "http://",
 * "userId": "erwerwerr7derrer7bcererr7ererere",
 * "nickname": "铃咚0",
 * "wallUri": ""
 * },
 * "moments": [
 * {
 * "userInfo": {
 * "portraitUri": "头像地址",
 * "userId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "nickname": "铃咚2"
 * },
 * "momentsInfo": {
 * "momentsId": "c727ce68d9d14d90b646fd42d435c9cd",
 * "title": "",
 * "content": "The fact new",
 * "contentType": "11",
 * "linkUrl": "",
 * "linkImgUrl": "",
 * "communityId": "1",
 * "likeCount": 0,
 * "commentCount": 0,
 * "viewCount": 1,
 * "momentsTypeId": "81a8fdd8267b45eba21db4c968c87de1",
 * "status": 0,
 * "updateTime": "2017-03-15T13:44:35",
 * "createTime": "2017-03-15T13:44:35",
 * "timeInfo": "1天前",
 * "canDelete": "0",
 * “timeStamp":”时间戳”
 * },
 * "commentsInfo": [
 * {
 * "commentId": "sfdsferewrererwerewrer",
 * "commentUserId": "erwerwerr7derrer7bcererr7ererere",
 * "commentUserNick": "铃咚0",
 * "commentText": "回复",
 * "replyUserId": "",
 * "replyUserNick": "",
 * "canDelete": "0",
 * "createTime": "2017-03-23T11:51:59",
 * "timeInfo": "6天前"
 * },
 * {
 * "commentId": "asadsdsfdsfdgdfgffgfg",
 * "commentUserId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "commentUserNick": "铃咚2",
 * "commentText": "点评内容",
 * "replyUserId": "erwerwerr7derrer7bcererr7ererere",
 * "replyUserNick": "铃咚0",
 * "canDelete": "0",
 * "createTime": "2017-03-16T11:21:54",
 * "timeInfo": "2小时前"
 * }
 * ],
 * "likesInfo": [],
 * "mediaInfo": {
 * "srcImages": [
 * "图片地址"
 * ],
 * "thumbImages": ["图片地址" ],
 * "thumbPreviewImages": ["图片地址"]
 * }
 * }
 * ]
 * <p>
 * {
 * "code": 200,
 * "message": "",
 * "curPage": 1,
 * "pageCount": 3,
 * "covertInfo": {
 * "portraitUri": "http://",
 * "userId": "erwerwerr7derrer7bcererr7ererere",
 * "nickname": "铃咚0",
 * "wallUri": ""
 * },
 * "moments": [
 * {
 * "userInfo": {
 * "portraitUri": "头像地址",
 * "userId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "nickname": "铃咚2"
 * },
 * "momentsInfo": {
 * "momentsId": "c727ce68d9d14d90b646fd42d435c9cd",
 * "title": "",
 * "content": "The fact new",
 * "contentType": "11",
 * "linkUrl": "",
 * "linkImgUrl": "",
 * "communityId": "1",
 * "likeCount": 0,
 * "commentCount": 0,
 * "viewCount": 1,
 * "momentsTypeId": "81a8fdd8267b45eba21db4c968c87de1",
 * "status": 0,
 * "updateTime": "2017-03-15T13:44:35",
 * "createTime": "2017-03-15T13:44:35",
 * "timeInfo": "1天前",
 * "canDelete": "0",
 * “timeStamp":”时间戳”
 * },
 * "commentsInfo": [
 * {
 * "commentId": "sfdsferewrererwerewrer",
 * "commentUserId": "erwerwerr7derrer7bcererr7ererere",
 * "commentUserNick": "铃咚0",
 * "commentText": "回复",
 * "replyUserId": "",
 * "replyUserNick": "",
 * "canDelete": "0",
 * "createTime": "2017-03-23T11:51:59",
 * "timeInfo": "6天前"
 * },
 * {
 * "commentId": "asadsdsfdsfdgdfgffgfg",
 * "commentUserId": "er3b6u87j7877k78wedfgt565uk7877i",
 * "commentUserNick": "铃咚2",
 * "commentText": "点评内容",
 * "replyUserId": "erwerwerr7derrer7bcererr7ererere",
 * "replyUserNick": "铃咚0",
 * "canDelete": "0",
 * "createTime": "2017-03-16T11:21:54",
 * "timeInfo": "2小时前"
 * }
 * ],
 * "likesInfo": [],
 * "mediaInfo": {
 * "srcImages": [
 * "图片地址"
 * ],
 * "thumbImages": ["图片地址" ],
 * "thumbPreviewImages": ["图片地址"]
 * }
 * }
 * ]
 */

/**
 * {
 "code": 200,
 "message": "",
 "curPage": 1,
 "pageCount": 3,
 "covertInfo": {
 "portraitUri": "http://",
 "userId": "erwerwerr7derrer7bcererr7ererere",
 "nickname": "铃咚0",
 "wallUri": ""
 },
 "moments": [
 {
 "userInfo": {
 "portraitUri": "头像地址",
 "userId": "er3b6u87j7877k78wedfgt565uk7877i",
 "nickname": "铃咚2"
 },
 "momentsInfo": {
 "momentsId": "c727ce68d9d14d90b646fd42d435c9cd",
 "title": "",
 "content": "The fact new",
 "contentType": "11",
 "linkUrl": "",
 "linkImgUrl": "",
 "communityId": "1",
 "likeCount": 0,
 "commentCount": 0,
 "viewCount": 1,
 "momentsTypeId": "81a8fdd8267b45eba21db4c968c87de1",
 "status": 0,
 "updateTime": "2017-03-15T13:44:35",
 "createTime": "2017-03-15T13:44:35",
 "timeInfo": "1天前",
 "canDelete": "0",
 “timeStamp":”时间戳”
 },
 "commentsInfo": [
 {
 "commentId": "sfdsferewrererwerewrer",
 "commentUserId": "erwerwerr7derrer7bcererr7ererere",
 "commentUserNick": "铃咚0",
 "commentText": "回复",
 "replyUserId": "",
 "replyUserNick": "",
 "canDelete": "0",
 "createTime": "2017-03-23T11:51:59",
 "timeInfo": "6天前"
 },
 {
 "commentId": "asadsdsfdsfdgdfgffgfg",
 "commentUserId": "er3b6u87j7877k78wedfgt565uk7877i",
 "commentUserNick": "铃咚2",
 "commentText": "点评内容",
 "replyUserId": "erwerwerr7derrer7bcererr7ererere",
 "replyUserNick": "铃咚0",
 "canDelete": "0",
 "createTime": "2017-03-16T11:21:54",
 "timeInfo": "2小时前"
 }
 ],
 "likesInfo": [],
 "mediaInfo": {
 "srcImages": [
 "图片地址"
 ],
 "thumbImages": ["图片地址" ],
 "thumbPreviewImages": ["图片地址"]
 }
 }
 ]

 *
 * */

